//
//  LoginChooseTypeViewController.m
//  Tongcheng
//
//  Created by 邢广范 on 2017/4/3.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//选择账号登录还是注册页面

#import "LoginChooseTypeViewController.h"
#import "LoginViewController.h"
#import "RegistViewController.h"

@interface LoginChooseTypeViewController ()

@property (weak, nonatomic) IBOutlet UIButton *loginBtn;
- (IBAction)loginBtnClick:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *registBtn;
- (IBAction)registBtnClick:(id)sender;

@end

@implementation LoginChooseTypeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
//已经有账号，直接去登录
- (IBAction)loginBtnClick:(id)sender {
    LoginViewController *loginVc = [[LoginViewController alloc] init];
    [self.navigationController pushViewController:loginVc animated:YES];
}

//没有账号，去登录
- (IBAction)registBtnClick:(id)sender {
    RegistViewController *registVc = [[RegistViewController alloc] init];
//    registVc.sexType = _sexType;
    [self.navigationController pushViewController:registVc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
